﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using medder.Book.Profiles;
using medder.Registrator;

namespace medder
{
    public partial class MainFormRegistrator : Form
    {
        public MainFormRegistrator(User user)
        {
            InitializeComponent();
        }

        private void пациентыToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            PatientBook pb = new PatientBook();
            pb.Show();
        }

        private void направленияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ProfileBook pb = new ProfileBook();
            pb.ShowDialog();
        }

        private void просмотрЗаписейToolStripMenuItem_Click(object sender, EventArgs e)
        {
           
        }

        private void заявкиНаРегистрациюToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewOrdersReg fm = new ViewOrdersReg();
            fm.ShowDialog();
        }

        private void поНаправлениямToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewOrdersDoctor fm = new ViewOrdersDoctor();
            fm.ShowDialog();
        }

        private void создатьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateTable fm = new CreateTable();
            fm.ShowDialog();
        }
    }
}
